package com.gyj.Actor.service;

import com.gyj.Actor.po.Actor;

import java.io.InputStream;
import java.util.List;

public interface ActorService {

    List<Actor> getpageActors(int pagenum, int pagesize);

    int getactornum();

    Actor getActorByid(short id);

    Actor updateactor(Actor actor);

    Actor addactor(Actor actor);

    void delete(short id);

    InputStream getInputStream() throws Exception;
}
